<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <script>
        let a = [1,  2,  5]
        
        let i = a.map(function(e,r){
            return e
        })
        // console.log((i.join('+')));
        let x = parseInt(i.join('1'))
        console.log(typeof x);
        
    </script>
<!-- // const list = [
        //     { name: '姜新华', subject: 'HTML', score: 82 },
        //     { name: '周祺', subject: 'CSS', score: 90 },
        //     { name: '大豪', subject: 'JavaScript', score: 69 },
        //     { name: '大豪1', subject: 'JavaScript', score: 69 }
        // ]
        // console.log(a);
        
        // list.forEach(function(e,n){
        //     // localStorage.setItem( , list[n].name)
        //     // console.log(n);
        //     // console.log(e.name);
        //     console.log(list[1]);
            
        // }) -->
</body>

</html>